﻿#include "commdefine.h"

const QString g_configName      = "JsonViwer.json";


QString getFileNameByPath(const QString &path)
{
    return path.right(path.size() - path.lastIndexOf('/') - 1);
}

QString getFilePathByPath(const QString &path)
{
    return path.left(path.lastIndexOf('/') + 1);
}
